#!usr/bin/env python  
# -*- coding:utf-8 _*-
""" 
@author:robot
@file: common_import.py 
@version:
@time: 2022/08/18 
"""
import pytest

from pprint import pprint

"""
server config
"""
from TapClientCore.T01_init_conf.v2_init.init_config import config

"""
Case Generate
"""
if config.get('jenkinsEnv') in ['local', 'pipeline']:
    from TapClientCaseData.CaseGenerateData import CGB_DATA, CGB_527
    from TapClientCaseData.CaseGenerateData import CGB_CASE_DATA_LOGMINER
elif config.get('jenkinsEnv') in ['cloud']:
    from TapClientCaseData.CaseGenerateData import CGB_CLOUD_DATA as CGB_DATA
    from TapClientCaseData.CaseGenerateData import CGB_CLOUD_DATA as CGB_527

"""
Case Data Twice Operate
"""
from Test_V2.util.case_data_twice_op import *

"""
key string
"""
from Test_V2.util.database_string import DataBaseString

"""
MODULE DATASOURCE
"""

from TapClientCore.T07_CaseTemplate.v2.CT01_datasource.ct_datasource import CTDataSource

"""
MODULE TASK
"""
# BASE TASK
from TapClientCore.T07_CaseTemplate.v2.CT03_task.ct_task import CTTask
from TapClientCore.T07_CaseTemplate.v2.CT03_task.ct_task_base import CTTaskKafkaAndMQ
from TapClientCore.T07_CaseTemplate.v2.CT03_task.ct_task_base import CTTaskParallel
from TapClientCore.T07_CaseTemplate.v2.CT03_task.ct_task_breakpoint import CTTaskBreakPoint
# COUNT CHECK
from TapClientCore.T07_CaseTemplate.v2.CT03_task.count_check.ct_count_check import CTTaskParallelCountCheck
# EVENT DUMMY
from TapClientCore.T07_CaseTemplate.v2.CT03_task.event_check.ct_event_check import CTTaskParallelEventCheck
from TapClientCore.T07_CaseTemplate.v2.CT03_task.event_check.ct_event_check import CTTaskParallelEventCheckDummy
# LOG MINER
from TapClientCore.T07_CaseTemplate.v2.CT06_logminer.ct_logminer import *
# MORE TABLE
from TapClientCore.T07_CaseTemplate.v2.CT03_task.data_check.ct_data_check_more_table import CTTaskDataCheckMoreTable
# INSPECT
from TapClientCore.T07_CaseTemplate.v2.CT03_task.inspect_check.ct_inspect_check import CTTaskInspectCheck
# DDL
from TapClientCore.T07_CaseTemplate.v2.CT03_task.ddl_check.ct_ddl import CTTaskDDL

# 数据开发处理节点
# task node
from TapClientCore.T07_CaseTemplate.v2.CT03_task.operate_node.ct_operate_node01 import CTTaskNode01FieldRename
from TapClientCore.T07_CaseTemplate.v2.CT03_task.operate_node.ct_operate_node02 import CTTaskNode02AddDeleteField
from TapClientCore.T07_CaseTemplate.v2.CT03_task.operate_node.ct_operate_node03 import CTTaskNode03Join
from TapClientCore.T07_CaseTemplate.v2.CT03_task.operate_node.ct_operate_node04 import CTTaskNode04TypeModification
from TapClientCore.T07_CaseTemplate.v2.CT03_task.operate_node.ct_operate_node05 import CTTaskNode05FieldCalculation
from TapClientCore.T07_CaseTemplate.v2.CT03_task.operate_node.ct_operate_node06 import CTTaskNode06Merge
from TapClientCore.T07_CaseTemplate.v2.CT03_task.operate_node.ct_operate_node07 import CTTaskNode07AGG
from TapClientCore.T07_CaseTemplate.v2.CT03_task.operate_node.ct_operate_node08 import CTTaskNode08RowFilter
from TapClientCore.T07_CaseTemplate.v2.CT03_task.operate_node.ct_operate_node09 import CTTASKShareCacheAndNode09
from TapClientCore.T07_CaseTemplate.v2.CT03_task.operate_node.ct_operate_node10 import CTTaskNode10

"""
模型推演
"""
from TapClientCore.T07_CaseTemplate.v2.CT03_task.result_get.ct_datatype_result import CTTaskParallelDataTypeResult

"""
数据目录
"""
from TapClientCore.T07_CaseTemplate.v2.CT04_meta.dataCatalogue.ct_data_catalogue import CTDataCataLogue
from TapClientCore.T07_CaseTemplate.v2.CT04_meta.dataSearch.ct_data_catasearch import CTDataSearch

"""
数据服务
"""
# meta

from TapClientCore.T07_CaseTemplate.v2.CT05_apiserver.ct01_api_publish.ct_api_publish_v1 import CTApiPublish
